package com.zheng.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@ApiModel(description ="主菜单")
//主导航
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MainMenu {
    @ApiModelProperty("主菜单id")
    private Integer id;
    @ApiModelProperty("主菜单用户")
    private String title;
    @ApiModelProperty("主菜单路径")
    private String path;
    @ApiModelProperty("分支菜单")
    private List<SubMenu> slist;
}
